package com.game.majiang.algorithm;

import lombok.Getter;
import lombok.Setter;

@Getter
public enum grouptype {
	Null(0, "null"), Chi(1, "吃"), Peng(2, "碰"), MingGang(3,"明杠"), AnGang(4,"暗杠"), BianGang(5,"边杠");
	@Setter
	private int _value;
	@Setter
	private String _name;
	
	private grouptype(int value, String name)
    {
         _value = value;
         _name = name;     
    }
	
	@Override
	public String toString() {
		return _name;
	}
}
